thunk - meaning and definition. What is thunk
Diclib.com
ChatGPT AI Dictionary
Enter a word or phrase in any language 👆
Language:

Translation and analysis of words by ChatGPT artificial intelligence

On this page you can get a detailed analysis of a word or phrase, produced by the best artificial intelligence technology to date:

  • how the word is used
  • frequency of use
  • it is used more often in oral or written speech
  • word translation options
  • usage examples (several phrases with translation)
  • etymology

What (who) is thunk - definition

COMPUTING TERM: SUBROUTINE USED TO INJECT A CALCULATION INTO ANOTHER SUBROUTINE
Thunking; Thunk (data); Delayed evaluation; Pointer fixups; Thunks; Thunk (functional programming); Thunk (object-oriented programming); Thunk (compatibility mapping); Suspended evaluation; Delayed computation; Thunk (programming); Thunk (delayed computation); Flat thunking; Flat thunk; General thunking; General thunk

thunk         
Used in place of thought or think.
Whoodah thunk I'd be the one they picked. Or; I guess I didn't thunk it through all the way.
thunk         
<programming> /thuhnk/ 1. "A piece of coding which provides an address", according to P. Z. Ingerman, who invented thunks in 1961 as a way of binding actual parameters to their formal definitions in ALGOL 60 procedure calls. If a procedure is called with an expression in the place of a {formal parameter}, the compiler generates a thunk which computes the expression and leaves the address of the result in some standard location. 2. The term was later generalised to mean an expression, frozen together with its environment (variable values), for later evaluation if and when needed (similar to a "closure"). The process of unfreezing these thunks is called "forcing". 3. A stubroutine, in an overlay programming environment, that loads and jumps to the correct overlay. Compare trampoline. There are a couple of onomatopoeic myths circulating about the origin of this term. The most common is that it is the sound made by data hitting the stack; another holds that the sound is that of the data hitting an accumulator. Yet another suggests that it is the sound of the expression being unfrozen at argument-evaluation time. In fact, according to the inventors, it was coined after they realised (in the wee hours after hours of discussion) that the type of an argument in ALGOL 60 could be figured out in advance with a little compile-time thought, simplifying the evaluation machinery. In other words, it had "already been thought of"; thus it was christened a "thunk", which is "the past tense of "think" at two in the morning". 4. (Microsoft Windows programming) universal thunk, generic thunk, flat thunk. [Jargon File] (1997-10-11)
thunk         
¦ noun & verb informal term for thud.

Wikipedia

Thunk

In computer programming, a thunk is a subroutine used to inject a calculation into another subroutine. Thunks are primarily used to delay a calculation until its result is needed, or to insert operations at the beginning or end of the other subroutine. They have many other applications in compiler code generation and modular programming.

The term originated as a whimsical irregular form of the verb think. It refers to the original use of thunks in ALGOL 60 compilers, which required special analysis (thought) to determine what type of routine to generate.

Examples of use of thunk
1. COOL: March 24, 1''4: Who‘d have thunk that "Beavis and Butt–head" would make the cover of Rolling Stone?
2. But there they were: high up, pale green, swinging from the tree branches, and dropping with a thunk onto the sidewalk.
3. Inzamam‘s own start up noise, other than the grumbling of his belly, is the crack/thunk of a muscular square drive off Hoggard that races away for four.
4. SHOW DETAILS Billy Elliot Forum÷ Theater Directed by Stephen Daldry, with a book and lyrics by Lee Hall and music by (who‘da thunk it?) Elton John, this adaptation of Mr.
5. By early evening, as the northerly current sped up, the rotor began to spin, a big thunk sounded in the control room, a green light went on, and electricity began to pour into a nearby supermarket.